package o;

import android.util.SparseIntArray;
import android.view.View;
import androidx.databinding.ViewDataBinding;
import java.util.ArrayList;
import java.util.List;
import o.ewm.h;

public class ewo extends jj {
    private static final SparseIntArray ˊ = new SparseIntArray(12);

    static {
        ˊ.put(h.ᐧॱ, 1);
        ˊ.put(h.ॱﾟ, 2);
        ˊ.put(h.ᐝʼ, 3);
        ˊ.put(h.ᵔ, 4);
        ˊ.put(h.ᵎ, 5);
        ˊ.put(h.ᴵ, 6);
        ˊ.put(h.ᐨॱ, 7);
        ˊ.put(h.ᵢ, 8);
        ˊ.put(h.ⁱ, 9);
        ˊ.put(h.ʾˊ, 10);
        ˊ.put(h.ˈˋ, 11);
        ˊ.put(h.ᐝʿ, 12);
    }

    public ViewDataBinding ॱ(jk jkVar, View view, int i) {
        int i2 = ˊ.get(i);
        if (i2 > 0) {
            Object tag = view.getTag();
            if (tag == null) {
                throw new RuntimeException("view must have a tag");
            }
            switch (i2) {
                case 1:
                    if ("layout/infoflow_appvideo_layout_0".equals(tag)) {
                        return new ewu(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for infoflow_appvideo_layout is invalid. Received: " + tag);
                case 2:
                    if ("layout/infoflow_banner_layout_0".equals(tag)) {
                        return new ewv(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for infoflow_banner_layout is invalid. Received: " + tag);
                case 3:
                    if ("layout/infoflow_campaign_layout_0".equals(tag)) {
                        return new ewt(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for infoflow_campaign_layout is invalid. Received: " + tag);
                case 4:
                    if ("layout/infoflow_card_triple_app_0".equals(tag)) {
                        return new exa(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for infoflow_card_triple_app is invalid. Received: " + tag);
                case 5:
                    if ("layout/infoflow_card_tripleapp_snapshot_0".equals(tag)) {
                        return new ewz(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for infoflow_card_tripleapp_snapshot is invalid. Received: " + tag);
                case 6:
                    if ("layout/infoflow_content_layout_0".equals(tag)) {
                        return new exb(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for infoflow_content_layout is invalid. Received: " + tag);
                case 7:
                    if ("layout/infoflow_openvideo_layout_0".equals(tag)) {
                        return new exf(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for infoflow_openvideo_layout is invalid. Received: " + tag);
                case 8:
                    if ("layout/infoflow_substance_layout_0".equals(tag)) {
                        return new exe(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for infoflow_substance_layout is invalid. Received: " + tag);
                case 9:
                    if ("layout/material_related_list_item_0".equals(tag)) {
                        return new exh(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for material_related_list_item is invalid. Received: " + tag);
                case 10:
                    if ("layout/small_horizontal_app_list_card_0".equals(tag)) {
                        return new exk(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for small_horizontal_app_list_card is invalid. Received: " + tag);
                case 11:
                    if ("layout/three_vertical_app_card_0".equals(tag)) {
                        return new exl(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for three_vertical_app_card is invalid. Received: " + tag);
                case 12:
                    if ("layout/wisedist_substance_hostappcard_0".equals(tag)) {
                        return new exn(jkVar, view);
                    }
                    throw new IllegalArgumentException("The tag for wisedist_substance_hostappcard is invalid. Received: " + tag);
            }
        }
        return null;
    }

    public ViewDataBinding ˊ(jk jkVar, View[] viewArr, int i) {
        if (viewArr == null || viewArr.length == 0 || ˊ.get(i) <= 0 || viewArr[0].getTag() != null) {
            return null;
        }
        throw new RuntimeException("view must have a tag");
    }

    public List<jj> ॱ() {
        List arrayList = new ArrayList(3);
        arrayList.add(new jr());
        arrayList.add(new bsz());
        arrayList.add(new dkx());
        return arrayList;
    }
}
